#include<stdio.h>
int main()
{
    char s[1000];
    int f[26]={0};
    while(gets(s))
    {
        int len=strlen(s),i;
        for(i=0;i<len;i++)
            if(isalpha(s[i])&&isupper(s[i]))
                f[s[i]-'A']++;
            else if(isalpha(s[i])&&islower(s[i]))
                f[s[i]-'a']++;


    }
    int i;
    for(i=0;i<26;i++)
        printf("%c: %d\n",'a'+i,f[i]);
}
